package com.homestead.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "redisson")
@Data
public class RedisProperties {

    private int timeout = 3000;

    private String singleAddress = "redis://192.168.56.10:6379";

    private String sentinelAddresses;

    private String clusterAddresses;

    private String password;

    private int connectionPoolSize = 64;

    private int connectionMinimumIdleSize=10;

    private int slaveConnectionPoolSize = 400;

    private int masterConnectionPoolSize = 400;

    private String masterName;

    private String username;


}
